package com.woniuxy.cloud.ticket52;

import com.woniuxy.cloud.ticket52.common.result.Result;
import com.woniuxy.cloud.ticket52.form.BossMovieAddForm;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

public interface BossMovieManageAPI {

    @PostMapping("/boss/movie")
    public Result addMovie(@RequestBody BossMovieAddForm form);

    @GetMapping("/boss/login")
    public Result login(@RequestParam("operatorName")String operatorName,@RequestParam("operatorPassword")String password);
}
